package com.topsec.tss.hdfs.api;

@SuppressWarnings(value = { "unchecked", "rawtypes" })
public class ResultDto {

	private static final long serialVersionUID = -1139496175167154945L;

	public static final int STATUS_OK = 1;
	public static final int STATUS_ERROR = 0;

	private Integer status;// 状态，0 失败，1成功
	private Object data;// 返回对象
	private String message;//返回信息

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
	public String toString() {
		return "ResultDto{" +
				"status=" + status +
				", data=" + data +
				'}';
	}
}
